<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>Document</title>
</head>
<body>
	<script>
	console.log("-------typeof方法--------")
	let str ="this is String";
	let num =99;
	let obj ={};
	let arr =[];
	let boolean =true;
	let Null =null;
	let Undefined =undefined;
	let sy =Symbol();
	let fn =function(){}
	console.log("typeof Str是：",typeof str);
	console.log("typeof num是：",typeof num);
	console.log("typeof obj是：",typeof obj);
	console.log("typeof arr是：",typeof arr);
	console.log("typeof boolean是：",typeof boolean);
	console.log("typeof Null是：",typeof Null);
	console.log("typeof Undefined是：",typeof Undefined);
	console.log("typeof sy是：",typeof sy);
	console.log("typeof fn是：",typeof fn);


	console.log("-------instanceof方法--------")
	console.log("iobj instanceof Object是：",obj instanceof Object);
	console.log("arr instanceof Array是：",arr instanceof Array);
	console.log("arr instanceof Object是：",arr instanceof Object);
	console.log("Null instanceof Object是：",Null instanceof Object);

	console.log("-------Object.prototype.toString.call()方法--------")
	console.log("Object.prototype.toString.call(str)是：",Object.prototype.toString.call(str) );
	console.log("Object.prototype.toString.call(num)是：",Object.prototype.toString.call(num) );
	console.log("Object.prototype.toString.call(obj)是：",Object.prototype.toString.call(obj) );
	console.log("Object.prototype.toString.call(arr)是：",Object.prototype.toString.call(arr) );
	console.log("Object.prototype.toString.call(boolean)是：",Object.prototype.toString.call(boolean) );
	console.log("Object.prototype.toString.call(Null)是：",Object.prototype.toString.call(Null) );
	console.log("Object.prototype.toString.call(Undefined)是：",Object.prototype.toString.call(Undefined) );
	console.log("Object.prototype.toString.call(sy)是：",Object.prototype.toString.call(sy) );
	console.log("Object.prototype.toString.call(fn)是：",Object.prototype.toString.call(fn) );





	</script>
</body>
</html>